<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="base :: header (title='用户管理')" />
<link th:href="@{plugins/common/css/basemessage.css}" rel="stylesheet" />
<link th:href="@{css/BasicInfo/user.css}" rel="stylesheet" />
<body class="">
	<div class="main-content">
		<div>
			<div>
				<div class="row">
					<div class="divClassLeft blank_bg">
						<!-- <div class="col-sm-12 col-md-12" style="background-color: #5bc0de; height: 30px; line-height: 30px;">
							<p style="color: #fff;">用户</p>
						</div> -->
						<div style="margin-top: 10px;">
							<ul id="yh" class="ztree" style="height: 470px; width: 100%; overflow: auto;"></ul>
						</div>
					</div>
					<div class="divClassRight blank_bg">
						<div id="accountShow">
							<div class="col-sm-12 col-md-12 " style="padding:10px;">
								<div id="choose">
									<span class="titleX">用户基本信息</span>
									<div class="square-red single-row" id="userAdd">
										<div class="radio" style="padding: 0">
											<input type="radio" name="type" value="1" style="float: left;" id="add" checked="checked" /> 
											<label>新增</label>
										</div>
									</div>
									<div class="square-red single-row" id="userModify" style="display: none;">
										<div class="radio" style="padding: 0">
											<input type="radio" name="type" value="2" style="float: left;" id="modify" /> 
											<label>修改</label>
										</div>
									</div>
									<div class="square-red single-row" id="userDelete" style="display: none;">
										<div class="radio" style="padding: 0">
											<input type="radio" name="type" value="3" style="float: left;" id="delete" /> 
											<label>删除</label>
										</div>
									</div>
									<label>
										<button type="button" class="btn btn-default btn-tijiao" onclick="save()">提交</button>
									</label>
								</div>
							</div>
							<div>
								<form action="#" id="yhjbxx" class="formcontent1">
									<table border="0" cellspacing="0" cellpadding="0" class="table-condensed normal-table short-table" style="width: 390px !important;">
										<tr>
											<td style="width: 110px;"><span id="" style="color: red">*</span>用户名：</td>
											<td style="width: 305px;">
												<input type="text" id="yhm" name="account" class="form-control clean_c" style="float: left;margin-right: 7px;" autocomplete="off" /> 
												<button type="button" id="resetPsd" class="btn btn-default" style="display: none;">重置密码</button> 
											</td> 
										</tr>
										<tr>
											<td><span id="" style="color: red">*</span>真实姓名：</td>
											<td>
												<!-- <select name="uName" id="zsxm" class="form-control" value="1">
												</select> -->
												<input id="zsxm" name="name" class="form-control clean_c" autocomplete="off" style="float: left;" />
											</td>
										</tr>
										<tr>
											<td><span id="" style="color: red">*</span>用户编号：</td>
											<td>
												<input type="text" id="yhbh" name="userCode" readonly="readonly" class="form-control clean_c" style="float: left;" />
											</td>
										</tr>
										<tr>
											<td><span id="" style="color: red">*</span>部门：</td>
											<td>
												<input type="text" id="bm" name="bm" onkeyup="AutoMatch(this)" onclick="showMenu(this)" onfocus="AutoMatch(this)" class="form-control clean_c" style="float: left;" autocomplete="off" />
												<div id="menuContent" class="menuContent" style="display: none; position: absolute;">
													<ul id="bmtree" class="ztree" style="margin-top: 0;">
													</ul>
												</div> 
												<input type="text" id="bmId" name="fDepId" style="display: none;" />
											</td>
										</tr>
										<tr>
											<td>关联ERP帐号：</td>
											<td>
												<select id="erpUserId" name="erpUserId" class="selectpicker form-control " data-live-search="true">
												</select>
											</td>
										</tr>
										<tr>
											<td>工作中心：</td>
											<td>
												<select id="fWorkShopId" name="fWorkShopId" class="selectpicker form-control " data-live-search="true">
												</select>
											</td>
										</tr>
										<tr>
											<td>代管部门：</td>
											<td>
												<select id="escrow" name="escrow" class="selectpicker show-tick form-control " multiple="multiple" data-live-search="true">
												</select>
											</td>
										</tr>
										<tr>
											<td>角色：</td>
											<td>
												<select id="role" name="role" class="selectpicker show-tick form-control " multiple="multiple" data-live-search="true">
												</select>
											</td>
										</tr>
										<tr style="display: none;" id="fStock">
											<td>仓库：</td>
											<td>
												<select id="fStockID" name="fStockID" class="selectpicker show-tick form-control " multiple="multiple" data-live-search="true">
												</select>
											</td>
										</tr>
										<!-- <tr>
											<td>数据权限:</td>
											<td>
												<select id="authority" name="dataAccess" class="selectpicker" data-live-search="false">
												</select>
											</td>
										</tr>


										<tr>
											<td>是否调度员：</td>
											<td>
												<label style="line-height: 26px;margin-bottom: 0;">
													<input name="sfwddy" type="checkbox" value="1" id="sfddy" style="width: auto !important;vertical-align: middle;margin: -3px 2px 0 0;" />是
												</label>
											</td>
										</tr> -->
										<tr style="display: none;" id="stop">
											<td>是否停用：</td>
											<td>
												<label style="line-height: 26px;margin-bottom: 0;">
													<input name="fStop" type="checkbox" value="0" id="sfty" style="width: auto !important;vertical-align: middle;margin: -3px 2px 0 0;" />是
												</label>
											</td>
										</tr>
									</table>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="base :: bottom" />
	<!-- <script th:src="@{js/BasicInfo/test.js}"></script> -->
	<div th:include="base :: ztree" />
	<div th:include="base :: others" />
	<script th:src="@{js/BasicInfo/user.js}"></script>
</body>
</html>
